package com.itheima.service.impl;

import com.itheima.mapper.UserMapper;
import com.itheima.pojo.UserInfo;
import com.itheima.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public UserInfo findById(Integer id) {
        return userMapper.findById(id);
    }
}
